package pers.wangyuhang.test;

/**
 * Created with IntelliJ IDEA.
 * Desciption:
 * User: 15716
 * Date: 2021-12-20
 * Time: 19:51
 */
public class CircleTest {
    public static void main(String[] args) {
        Circle c = new Circle();
        c.radius = 2;
        c.findArea();
    }
}

class  Circle {
    double radius;

    public double findArea() {
        return Math.PI*Math.pow(radius,2);
    }
}
